When should you stop being friends with someone?

When should you stop being friends with someone?